#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @File  : setting.py
# @Author: y1wanghui@163.com
# @Date  : 2018/8/31
# @Desc  : 设置参数

REDIS_HOST = 'localhost'

REDIS_PORT = 6379

REDIS_PASSWORD = None

REDIS_KEY = 'weixin'
# 代理随机获取的可用代理
PROXY_POOL_URL = 'http://127.0.0.1:5555/random'

MYSQL_HOST = 'localhost'

MYSQL_PORT = 3306

MYSQL_USER = 'root'

MYSQL_PASSWORD = 'root123'

MYSQL_DATABASE = 'weixin'


TIMEOUT = 10

MAX_FAILED_TIME = 20

VALID_STATUSES = [200]